<div class="alert alert-info">
    <a href="#" class="close" data-dismiss="alert">
        &times;
    </a>
    <strong>提示！</strong>百度主动推送token，请到<a href="https://ziyuan.baidu.com/linksubmit/index" target="_barck"> 百度申请</a>。
</div>
<div class="form-group">
    <label for="settingnew[site_theme]" class="col-sm-2 control-label">模板风格：</label>
    <div class="col-sm-10">
        <select name="settingnew[site_theme]" class="form-control">
            {{foreach $theme_list as $val}}          
            <option value="{{$val}}" {{if $setting["site_theme"]==$val}} selected="selected" {{/if}}>{{$val}}</option>
            {{/foreach}}
        </select>
    </div>
</div>
<div class="form-group">
    <label for="settingnew[url_rule]" class="col-sm-2 control-label">前端URL规则：</label>
    <div class="col-sm-10">
        <label class="radio-inline">
            <input type="radio" name="settingnew[url_rule]" {{if $setting['url_rule'] == 0}}checked{{/if}} value=0> 兼容模式
        </label>
        <label class="radio-inline">
            <input type="radio" name="settingnew[url_rule]" {{if $setting['url_rule'] == 1}}checked{{/if}} value=1 > 伪静态模式
        </label>
    </div>
</div>
<div class="form-group">
    <label for="settingnew[baidu_push_token]" class="col-sm-2 control-label">百度推送token：</label>
    <div class="col-sm-10">
  <input class="form-control" name="settingnew[baidu_push_token]" value="{{$setting['baidu_push_token']}}" placeholder="百度主动推送token，请到百度申请" />
    </div>
</div>